boot/ostree-remount.service: run before tmpfiles.d
authorDaniel Drake <drake@endlessm.com>
Tue, 11 Feb 2014 22:13:34 +0000 (16:13 -0600)
committerColin Walters <walters@verbum.org>
Tue, 11 Feb 2014 22:27:38 +0000 (17:27 -0500)
tmpfiles.d configurations generally require write access to some places
that are read-only until ostree-remount runs.

Make sure ostree-remount has run first.

Thanks to Cosimo Cecchi for finding and diagnosing this problem.

https://bugzilla.gnome.org/show_bug.cgi?id=724183

src/boot/ostree-remount.service

index f13f2ae53c830f403e36d4a4e281c4c1347040eb..196649b76b0f1440d6149bee697b02658ca1a0a1 100644 (file)
@@ -26,6 +26,8 @@ After=systemd-remount-fs.service
 Before=local-fs.target umount.target
 # Other early boot units that need to write to /var
 Before=systemd-random-seed.service plymouth-read-write.service
+# tmpfiles.d usually needs write access to a few places
+Before=systemd-tmpfiles-setup.service
 
 [Service]
 Type=oneshot